<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<title></title>
		<script type="text/javascript">
			var couponId = "$!{couponId}";
			var start = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx06f77f0f29884605&redirect_uri="
			var end = "&response_type=code&scope=snsapi_userinfo&state=/abc";
			var authUrl = `http://www.${document.domain}/system/back/poster/advCoupon/getCoupon.do?couponId=${couponId}`;
			authUrl = encodeURI(authUrl);
			window.location.href = start + authUrl + end;
		</script>
	</head>
	<body>
	</body>
</html>

